.header {
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;

    .logo {
        flex: 1;
        color: rgb(255, 208, 75);
        line-height: 60px;
        text-align: left;
        font-size: 30px;
        padding-left: 20px;
        font-weight: bold;
    }

    .nav {
        width: 600px;
        display: flex;

        a {
            width: 120px;
            text-decoration: none;
            color: white;
            line-height: 60px;
            text-align: center;

            &:hover {
                color: white;
                background-color: rgba(0, 0, 0, 0.3);
            }
        }
    }

    .search {
        flex: 1;
        text-align: center;

        .searchText {
            border: 1px solid rgb(255, 255, 255);
            padding: 7px 0px;
            border-radius: 3px;
            padding-left: 10px;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            background-color: #383838;
            transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
            margin-top: 15px;
            opacity: 0.7;
            color: white;
            &:focus {
                border-color: #008cff;
                outline: 0;
                -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
                    0 0 8px rgba(102, 175, 233, 0.6);
                box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
                    0 0 8px rgba(102, 175, 233, 0.6);
            }

            &::placeholder {
                color: white;
            }
        }
    }

    .login {
        flex: 1;
        margin-left: 50px;
        .btnBox {
            width: 120px;
            margin-top: 15px;
            float: right;
            padding-right: 100px;

            button {
                width: 50px;
                height: 30px;
                border: none;
                border-radius: 3px;
                color: white;
                display: inline-block;
            }

            .loginBtn {
                background-color: #409EFF;
                margin-right: 10px;
            }

            .logupBtn {
                background-color: #ebb563;
            }
        }
    }

    .nav-active {
        color: rgb(255, 208, 75) !important;
        border-bottom: 5px solid rgb(255, 208, 75);
    }
}